﻿#include "string.h"

void test_string1()
{
	ywx::string s = "hello world";

}

void test_string2()
{
	/*ywx::string s = "hello world";
	s.append("xxxxx");
	for (auto ch : s)
	{
		cout << ch;
	}
	cout << endl;*/

	/*ywx::string s = "hello world";
	s += '\0';
	s += "!!!!!!!!";
	for (char ch : s)
	{
		cout << ch;
	}*/
}

void test_string3()
{
	ywx::string s = "hello world";
	ywx::string tmp(s);
}


int main()
{
	test_string3();
	return 0;
}